home *** CD-ROM | disk | FTP | other *** search
- ;InnoSetupVersion=5.1.10
- [Setup]
- AppName=KeyText
- AppVerName=KeyText v3
- AppId=KeyText
- AppPublisher=MJMSoft Design
- AppPublisherURL=http://www.mjmsoft.com
- AppSupportURL=http://www.keytext.com
- AppUpdatesURL=http://www.keytext.com/whatsnew.htm
- AppMutex=KeyText,Global\KeyText
- DefaultDirName={code:GetExistingDirName}
- DefaultGroupName=KeyText
- OutputBaseFilename=setup
- Compression=lzma
- LicenseFile=embedded\License.txt
- WizardImageFile=embedded\WizardImage0.bmp
- WizardSmallImageFile=embedded\WizardSmallImage0.bmp
- [Files]
- ; Source: "{app}\Backup\,1"; DestDir: "{app}\Backup"; Check: "FileExists(ExpandConstant('{app}\order.txt'))"; Flags: uninsneveruninstall skipifsourcedoesntexist onlyifdoesntexist
- ; Source: "{app}\Backup\,2"; DestDir: "{app}\Backup"; Check: "FileExists(ExpandConstant('{app}\order.txt'))"; Flags: uninsneveruninstall skipifsourcedoesntexist onlyifdoesntexist
- ; Source: "{app}\Backup\,3"; DestDir: "{app}\Backup"; Check: "FileExists(ExpandConstant('{app}\order.txt'))"; Flags: uninsneveruninstall skipifsourcedoesntexist onlyifdoesntexist
- ; Source: "{app}\Backup\,4"; DestDir: "{app}\Backup"; Check: "FileExists(ExpandConstant('{app}\order.txt'))"; Flags: uninsneveruninstall skipifsourcedoesntexist onlyifdoesntexist
- Source: "{app}\RestoreOldKT.exe"; DestDir: "{app}"; Check: "FileExists(ExpandConstant('{app}\order.txt'))"; Flags: onlyifdoesntexist ignoreversion
- Source: "{app}\readme.txt"; DestDir: "{app}"; Flags: ignoreversion
- Source: "{app}\license.txt"; DestDir: "{app}"; Flags: ignoreversion
- Source: "{app}\whatsnew.doc"; DestDir: "{app}"; Flags: ignoreversion
- Source: "{app}\ombudsmn.txt"; DestDir: "{app}"; Flags: ignoreversion
- Source: "{app}\dep.txt"; DestDir: "{app}"; Check: "isVista()"; Flags: ignoreversion
- Source: "{app}\pad_file.xml"; DestDir: "{app}"; Flags: ignoreversion
- Source: "{app}\pad_file.htm"; DestDir: "{app}"; Flags: ignoreversion
- Source: "{app}\KeyText.exe"; DestDir: "{app}"; Flags: ignoreversion
- Source: "{app}\KeyText,1.dll"; DestDir: "{app}"; DestName: "KeyText.dll"; Check: "isXP()"; Flags: restartreplace uninsrestartdelete ignoreversion
- Source: "{app}\KeyText2,1.dll"; DestDir: "{app}"; DestName: "KeyText2.dll"; Check: "isXP()"; Flags: restartreplace uninsrestartdelete ignoreversion
- Source: "{app}\KeyText,2.dll"; DestDir: "{app}"; DestName: "KeyText.dll"; Check: "preXP()"; Flags: restartreplace uninsrestartdelete ignoreversion
- Source: "{app}\KeyText2,2.dll"; DestDir: "{app}"; DestName: "KeyText2.dll"; Check: "preXP()"; Flags: restartreplace uninsrestartdelete ignoreversion
- Source: "{commonappdata}\KeyText\KeyText.kt3"; DestDir: "{commonappdata}\KeyText"; Check: "notVista()"; Flags: uninsneveruninstall onlyifdoesntexist
- Source: "{userappdata}\KeyText\KeyText.kt3"; DestDir: "{userappdata}\KeyText"; Check: "isVista()"; Flags: uninsneveruninstall onlyifdoesntexist
- Source: "{commonappdata}\KeyText\Samples.kt3"; DestDir: "{commonappdata}\KeyText"; Check: "notVista()"; Flags: ignoreversion
- Source: "{userappdata}\KeyText\Samples.kt3"; DestDir: "{userappdata}\KeyText"; Check: "isVista()"; Flags: ignoreversion
- Source: "{app}\KeyText.chm"; DestDir: "{app}"; Flags: ignoreversion
- Source: "{app}\chime.wav"; DestDir: "{app}"; AfterInstall: "AddRClickData"; Flags: ignoreversion
- Source: "{app}\LicInit.exe"; DestDir: "{app}"; Check: "isVista()"; Flags: ignoreversion
- [Registry]
- Root: HKLM; Subkey: "Software\MJMSoft"; Check: "notVista()"; Flags: uninsdeletekeyifempty
- Root: HKLM; Subkey: "Software\MJMSoft\KeyText"; Check: "notVista()"; Flags: uninsdeletekey
- Root: HKLM; Subkey: "Software\MJMSoft\KeyText"; ValueName: "Default kt3 File"; ValueType: String; ValueData: "{commonappdata}\KeyText\KeyText.kt3"; Check: "notVista()"; Flags: createvalueifdoesntexist uninsdeletekey
- Root: HKLM; Subkey: "Software\MJMSoft\KeyText"; ValueName: "GlobalStringsFile"; ValueType: String; ValueData: "{commonappdata}\KeyText\KeyText.gsv"; Check: "notVista()"; Flags: createvalueifdoesntexist uninsdeletekey
- Root: HKCU; Subkey: "Software\MJMSoft"; Flags: uninsdeletekeyifempty
- Root: HKCU; Subkey: "Software\MJMSoft\KeyText"; Flags: uninsdeletekey
- Root: HKCU; Subkey: "Software\MJMSoft\KeyText"; ValueName: "Default kt3 File"; ValueType: String; ValueData: "{userappdata}\KeyText\KeyText.kt3"; Flags: createvalueifdoesntexist uninsdeletekey
- Root: HKCU; Subkey: "Software\MJMSoft\KeyText"; ValueName: "GlobalStringsFile"; ValueType: String; ValueData: "{userappdata}\KeyText\KeyText.gsv"; Flags: createvalueifdoesntexist uninsdeletekey
- Root: HKCR; Subkey: ".kt3"; ValueType: String; ValueData: "KeyText.data"; Flags: uninsdeletekey
- Root: HKCR; Subkey: "KeyText.data"; ValueType: String; ValueData: "KeyText data"; Flags: uninsdeletekey
- Root: HKCR; Subkey: "KeyText.data\shell\open\command"; ValueType: String; ValueData: "{code:GetShortAppDir}\KeyText.exe %1";
- Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"; ValueName: "{app}\LicInit.exe"; ValueType: String; ValueData: "DisableNXShowUI"; Check: "isVista()"; Flags: createvalueifdoesntexist uninsdeletevalue dontcreatekey
- Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"; ValueName: "{app}\KeyText.exe"; ValueType: String; ValueData: "DisableNXShowUI"; Check: "isVista()"; Flags: createvalueifdoesntexist uninsdeletevalue dontcreatekey
- [Run]
- Filename: "{app}\LicInit.exe"; Check: "isVista()"; Flags: nowait
- Filename: "{app}\readme.txt"; Description: "View the readme.txt"; Check: "notVista()"; Flags: shellexec postinstall unchecked skipifsilent nowait
- Filename: "{app}\whatsnew.doc"; Description: "View the whatsnew.doc"; Check: "notVista()"; Flags: shellexec postinstall unchecked skipifsilent nowait
- Filename: "{app}\KeyText.exe"; Description: "{cm:LaunchProgram,KeyText}"; Check: "notVista()"; Flags: postinstall skipifsilent nowait
- [Icons]
- Name: "{group}\KeyText"; Filename: "{app}\KeyText.exe";
- Name: "{group}\KeyText Help"; Filename: "{app}\KeyText.chm";
- Name: "{group}\{cm:UninstallProgram,KeyText}"; Filename: "{uninstallexe}";
- Name: "{userstartup}\KeyText"; Filename: "{app}\KeyText.exe"; Check: "StartupCheck";
- [UninstallDelete]
- Type: files; Name: "{app}\KeyText.dat";
- [CustomMessages]
- default.NameAndVersion=%1 version %2
- default.AdditionalIcons=Additional icons:
- default.CreateDesktopIcon=Create a &desktop icon
- default.CreateQuickLaunchIcon=Create a &Quick Launch icon
- default.ProgramOnTheWeb=%1 on the Web
- default.UninstallProgram=Uninstall %1
- default.LaunchProgram=Launch %1
- default.AssocFileExtension=&Associate %1 with the %2 file extension
- default.AssocingFileExtension=Associating %1 with the %2 file extension...
- [Languages]
- ; These files are stubs
- ; To achieve better results after recompilation, use the real language files
- Name: "default"; MessagesFile: "embedded\default.isl";
-